package com.ssn.bridge.phone;

public class Client {
    public static void main(String[] args) {
        Software qq = new QQ();
        Brand brand = new Apple(qq);
        brand.runSoftware();
        brand = new Mi(qq);
        brand.runSoftware();

        Software wx = new WeChat();
        brand = new Apple(wx);
        brand.runSoftware();
        brand = new Mi(wx);
        brand.runSoftware();
    }
}
